package com.planet.common.autoconfigure.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: TODO 短信配置信息
 * @Author: mis_wu
 * @Date: 2023/8/27
 * @Company SMS
 **/
@ConfigurationProperties(prefix = PlanetSmsProperties.PLANET_SMS_PREFIX)
@Data
public class PlanetSmsProperties {

    public static final String PLANET_SMS_PREFIX = "spring.planet.sms";

    /**
     * 开启星球短息服务
     */
    private Boolean enable;

    /**
     * 验证码长度
     */
    private Integer codeLength;
}
